# -*- coding: utf-8 -*-
"""
 @Time    : 2021/1/25 下午5:49
 @Author  : tgy
 
"""
import html


def test01():
    ...
    text = 'Elements are written as "<tag>text</tag>".'
    print(html.escape(text))
    print(html.escape(text,quote=False))


if __name__ == '__main__':
    ...
    test01()
    import os
    # 如果传人的是字节字符串，则返回的内容不会进行解码
    print(os.listdir(b'.'))